package com.imc.api.templmess.utils;

/*
 * 类描述：微信枚举
 * 开发者：YT
 * 创建日期：2018/10/23 13:46
 */
public class WeiXinEnum {

    public final static String appid = "wxcac3896371129ae1";
    public final static String appsecret = "7b60156886e4545050de0402837d0e57";
    // 缓存类型
    public enum CACHE_TYPE {
        CACHE_WX_ACCESS_TOKEN,   //模板消息access_token
    }

    // 模板消息编号
    public enum WX_TEMPLATE_MSG_NUMBER {
        ORDER_PAYED_SUCCESS("1", "2GBGMIlT3P3_p94gMNEKSDM8cF_DkK-rs0b7agFh0nk"),//订单支付模板ID
        TEMPL_MESS_SEND_SUCCESS("2", "qhG2ckkqLmfommwPyxQuLuchZSWpmpjsONpOberBge8");//模板消息发送模板ID
        private String code;
        private String templateId;

        WX_TEMPLATE_MSG_NUMBER(String code, String templateId) {
            this.code = code;
            this.templateId = templateId;
        }

        public String getCode() {
            return code;
        }

        public String getTemplateId() {
            return templateId;
        }
    }
}
